package sample.tangocho.service;

import android.content.Context;
import sample.tangocho.dataaccess.CardDao;
import sample.tangocho.dataaccess.CardDaoImpl;
import sample.tangocho.model.Card;

public class EditCardServiceImpl implements EditCardService {


	private CardDao cardDao;

	public EditCardServiceImpl(Context context) {

		// TODO DI
		cardDao = new CardDaoImpl(context);
	}

	@Override
	public void editCard(Card card) {
		cardDao.updateCard(card);
	}

}
